﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="BSCSCampaignFeePage.aspx.vb" Inherits="ccapps.BSCSCampaignFee" %>
<%@ Register Assembly="ccapps" Namespace="ccapps.BillingNetControlLibrary" TagPrefix="cc1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!DOCTYPE HTML>

<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">
    <meta http-equiv="content-type" content="text/html"; charset="iso-8859-9"/>
	<title>Campaign Fee Definition</title>

    <style type="text/css">
        .labelCss {
            display: inline-block;
            float: left;
            width: auto;
            height: auto;
            font-size:12px;
            font-family: 'Segoe UI',Arial, Helvetica;
            color:black;
        }
        .ddlCss {
		-webkit-appearance: none;  /*Removes default chrome and safari style*/
		-moz-appearance: none; /* Removes Default Firefox style*/
		width: 150px; /*Width of select dropdown to give space for arrow image*/
        height:27px;
		text-indent: 0.01px; /* Removes default arrow from firefox*/
		padding: 5px;
        vertical-align:central;
	    }
        .txtBoxCss {
            display: inline-block;
            float: left;
            width: 150px;
            height: 27px;
        }
        .buttonCss {
            display: inline-block;
            width: 10px;
            height: 27px;
        }
        .body{
            padding-left: 0;
            padding-right: 0;
            margin-left: auto;
            margin-right: auto;
            display: block;
            width: 800px;
        }
         #ui-datepicker-div { font-size:11px; }
        .auto-style2 {
            height: 155px;
        }
        .auto-style3 {
            width: 191px;
        }
        .auto-style4 {
            width: 202px;
        }
    </style>

    <link rel="stylesheet" href="/../code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css"/>
    <script src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
    <link rel="stylesheet" href="/resources/demos/style.css"/>


<script>
    function client_OnTreeNodeChecked(evt) {
        var obj;
        if (window.event) obj = window.event.srcElement;
        else obj = (evt ? evt : (window.event ? window.event : null)).target;
        var treeNodeFound = false;
        var checkedState;
        if (obj.tagName == "INPUT" && obj.type == "checkbox") {
            checkedState = obj.checked;
            do {
                obj = obj.parentNode;
            }
            while (obj.tagName != "TABLE")

            var parentTreeLevel = obj.rows[0].cells.length;

            //get the current node's parent node.
            var tables = obj.parentNode.getElementsByTagName("TABLE");
            var numTables = tables.length;

            if (numTables >= 1) {
                for (i = 0; i < numTables; i++) {
                    if (tables[i] == obj) {
                        treeNodeFound = true;
                        i++;
                        if (i == numTables) return;
                    }

                    if (treeNodeFound == true) {
                        var childTreeLevel = tables[i].rows[0].cells.length;
                        if (childTreeLevel > parentTreeLevel) {
                            var cell = tables[i].rows[0].cells[childTreeLevel - 1];
                            var inputs = cell.getElementsByTagName("INPUT");
                            inputs[0].checked = checkedState;
                        }
                        else return;
                    }
                }
            }
        }
    }

    function isNumberKey(evt) {
        var charCode = (evt.which) ? evt.which : event.keyCode
        if (charCode == 44)
            return true;
        if ((charCode > 31 && (charCode < 48 || charCode > 57)))
            return false;

        return true;
    }

</script>
</head>
<body class="body">
    <form id="form1" runat="server">


        
        <asp:UpdatePanel ID="pnlHelloWorld" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
            <ContentTemplate>
                <asp:ScriptManager ID="MainScriptManager" runat="server" />


        <table id="Table1" style="BORDER-COLLAPSE: collapse; border-spacing:10px" border="0" >                
            <tr id ="tariffType" runat="server">
                <td  id="highlight02" runat="server" class="solbaslik">
            		<asp:Label text="* Tarife Tipi:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlTariffType" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Seçiniz" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Kurumsal" Value="Kurumsal"></asp:ListItem>
                        <asp:ListItem Text="FPM" Value="Fpm"></asp:ListItem>
                        <asp:ListItem Text="Diğer" Value="Other"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>                   
            	</td>
                <td>
           	    </td>
            </tr>
            <tr id ="commitmentType" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* Taahhüt Tipi:" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlCommitmentType" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Seçiniz" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Kurumsal (PBC) Taahhüt" Value="Kurumsal"></asp:ListItem>
                        <asp:ListItem Text="Bireysel Taahhüt" Value="Fpm"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>
            	</td>
                <td>
           	    </td>
            </tr>
            <tr id="pbcDetail" runat="server" visible="false" >
                <td class="solbaslik">
            		<asp:Label text="  PBC Detayı:" runat="server"/>	
            	</td>
                <td colspan="3">
                    <textarea id="txtPbcDetail" runat="server" cols="63" rows="5" maxlength="2500" ></textarea>

                </td>
            </tr>
            <tr id ="fpmMasterMsisdn" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* FPM Master Msisdn:" runat="server" />	
            	</td>
                <td>
                    <asp:TextBox id="txtFpmMasterMsisdn" runat="server" onkeyUP="this.value=this.value.replace(/[^\d,]/g,'');" type="text" CssClass="txtBoxCss"/>
                </td>
                <td>
            	</td>
                <td>
           	    </td>
            </tr>
            <tr id ="fpmWaDetails" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* FPM WA Girişi:" runat="server" />	
            	</td>
                <td >
                    <asp:dropdownlist id="ddlFpmWaDetails" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Seçiniz" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Evet" Value="Yes"></asp:ListItem>
                        <asp:ListItem Text="Hayır" Value="No"></asp:ListItem>
                    </asp:dropdownlist>                    
                </td>
                <td >
            	</td>
                <td >
           	    </td>
            </tr>
            <tr id ="UcretGrubuSayisi" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label text="* Ücret grubu sayısı" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlUcretGroupNumber" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Seçiniz" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="1" Value="1" ></asp:ListItem>
                        <asp:ListItem Text="2" Value="2" ></asp:ListItem>
                        <asp:ListItem Text="3" Value="3" ></asp:ListItem>
                        <asp:ListItem Text="4" Value="4" ></asp:ListItem>
                        <asp:ListItem Text="5" Value="5" ></asp:ListItem>
                        <asp:ListItem Text="6" Value="6" ></asp:ListItem>
                    </asp:dropdownlist>                    
                </td>
                <td>
            	</td>
                <td>
           	    </td>
            </tr>
            <tr id ="reason" runat="server" visible="false">
                <td colspan="4" class="auto-style2">
                    <asp:TreeView ID="treePriceGroup" runat="server" ShowCheckBoxes="All" ShowLines="True" onclick="client_OnTreeNodeChecked();" ></asp:TreeView>
                </td>
            </tr>
            <tr id="PriceGroups" runat="server" visible="false" style="text-align:center">
                <td colspan="3">
                    <table>
                        <caption>
                            <br/>
                            <tr id="PriceGroups1" runat="server" style="width:900px" visible="false">
                                <td id="priceGroup1" runat="server" class="auto-style3" style="background-color:white;width:300px">
									<div id="fieldPriceGroup1" style="width:100%;">
										<fieldset style="border-color:black">
											<legend style="color:black;font-weight:bold;">Ücret Grubu - 1</legend>  
											<table>
												<tr>
												    <td colspan="2">													
														<asp:ListBox ID="lstPriceGroup1" runat="server" style="background-color:white" Font-Size="Small" Height="100px" Rows="6" Width="288px" Font-Names="Tahoma"/>
												    </td>
												</tr>
												<tr>
													<td>
														<asp:button ID="btnPriceGroup1Add" runat="server" CausesValidation="False" style="width:100%" Text="Reason Ekle" />
                                                    </td>
                                                    <td>
														<asp:button ID="btnPriceGroup1RemoveAll" runat="server" CausesValidation="False" style="width:100%" Text="Grubu Boşalt" />
													</td>
												</tr>												
												<tr>
													<td style="width:200px;">* Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwoCommitmentGp1" runat="server" onkeyUP="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px;" />
													</td>
												</tr>
												<tr>
													<td style="width:200px;">Taahhütlü Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwhCommitmentGp1" runat="server" onkeyup="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
											</table>
										</fieldset>
									</div>
								</td>
                                <td id="priceGroup2" runat="server" class="auto-style3" style="background-color:white;width:300px">
                                    <div id="fieldPriceGroup2" style="width:100%;">
										<fieldset style="border-color:black">
											<legend style="color:black;font-weight:bold;">Ücret Grubu - 2</legend>  
											<table>
												<tr>
												    <td colspan="2">													
														<asp:ListBox ID="lstPriceGroup2" runat="server" style="background-color:white" Font-Size="Small" Height="100px" Rows="6" Width="288px" Font-Names="Tahoma"/>
												    </td>
												</tr>
												<tr>
													<td>
														<asp:Button ID="btnPriceGroup2Add" runat="server" CausesValidation="False" style="width:100%" Text="Reason Ekle" />
                                                    </td>
                                                    <td>
														<asp:Button ID="btnPriceGroup2RemoveAll" runat="server" CausesValidation="False" style="width:100%" Text="Grubu Boşalt" />
													</td>
												</tr>												
												<tr>
													<td style="width:200px;">* Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwoCommitmentGp2" runat="server" onkeyUP="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
												<tr>
													<td style="width:200px;">Taahhütlü Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwhCommitmentGp2" runat="server" onkeyup="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
											</table>
										</fieldset>
									</div>
                                </td>
                                <td id="priceGroup3" runat="server" class="auto-style3" style="background-color:white;width:300px">
                                    <div id="fieldPriceGroup3" style="width:100%;">
										<fieldset style="border-color:black">
											<legend style="color:black;font-weight:bold;">Ücret Grubu - 3</legend>  
											<table>
												<tr>
												    <td colspan="2">													
														<asp:ListBox ID="lstPriceGroup3" runat="server" style="background-color:white" Font-Size="Small" Height="100px" Rows="6" Width="288px" Font-Names="Tahoma"/>
												    </td>
												</tr>
												<tr>
													<td>
														<asp:Button ID="btnPriceGroup3Add" runat="server" CausesValidation="False" style="width:100%" Text="Reason Ekle" />
                                                    </td>
                                                    <td>
														<asp:Button ID="btnPriceGroup3RemoveAll" runat="server" CausesValidation="False" style="width:100%" Text="Grubu Boşalt" />
													</td>
												</tr>												
												<tr>
													<td style="width:200px;">* Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwoCommitmentGp3" runat="server" onkeyUP="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
												<tr>
													<td style="width:200px;">Taahhütlü Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwhCommitmentGp3" runat="server" onkeyup="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
											</table>
										</fieldset>
									</div>
                                </td>
                            </tr>
                            <tr id="PriceGroups2" runat="server" visible="false">
                                <td id="priceGroup4" runat="server" class="auto-style3" style="background-color:white;width:300px">
                                    <div id="fieldPriceGroup4" style="width:100%;">
										<fieldset style="border-color:black">
											<legend style="color:black;font-weight:bold;">Ücret Grubu - 4</legend>  
											<table>
												<tr>
												    <td colspan="2">													
														<asp:ListBox ID="lstPriceGroup4" runat="server" style="background-color:white" Font-Size="Small" Height="100px" Rows="6" Width="288px" Font-Names="Tahoma"/>
												    </td>
												</tr>
												<tr>
													<td class="auto-style4">
														<asp:Button ID="btnPriceGroup4Add" runat="server" CausesValidation="False" style="width:100%" Text="Reason Ekle" />
                                                    </td>
                                                    <td>
														<asp:Button ID="btnPriceGroup4RemoveAll" runat="server" CausesValidation="False" style="width:100%" Text="Grubu Boşalt" />
													</td>
												</tr>												
												<tr>
													<td class="auto-style4">* Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwoCommitmentGp4" runat="server" onkeyUP="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
												<tr>
													<td class="auto-style4">Taahhütlü Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwhCommitmentGp4" runat="server" onkeyup="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
											</table>
										</fieldset>
									</div>
                                </td>
                                <td id="priceGroup5" runat="server" class="auto-style3" style="background-color:white;width:300px">
                                    <div id="fieldPriceGroup5" style="width:100%;">
										<fieldset style="border-color:black">
											<legend style="color:black;font-weight:bold;">Ücret Grubu - 5</legend>  
											<table>
												<tr>
												    <td colspan="2">													
														<asp:ListBox ID="lstPriceGroup5" runat="server" style="background-color:white" Font-Size="Small" Height="100px" Rows="6" Width="288px" Font-Names="Tahoma"/>
												    </td>
												</tr>
												<tr>
													<td>
														<asp:Button ID="btnPriceGroup5Add" runat="server" CausesValidation="False" style="width:100%" Text="Reason Ekle" />
                                                    </td>
                                                    <td>
														<asp:Button ID="btnPriceGroup5RemoveAll" runat="server" CausesValidation="False" style="width:100%" Text="Grubu Boşalt" />
													</td>
												</tr>												
												<tr>
													<td style="width:200px;">* Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwoCommitmentGp5" runat="server" onkeyUP="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
												<tr>
													<td style="width:200px;">Taahhütlü Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwhCommitmentGp5" runat="server" onkeyup="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
											</table>
										</fieldset>
									</div>
                                </td>
                                <td id="priceGroup6" runat="server" class="auto-style3" style="background-color:white;width:300px">
                                    <div id="fieldPriceGroup6" style="width:100%;">
										<fieldset style="border-color:black">
											<legend style="color:black;font-weight:bold;">Ücret Grubu - 6</legend>  
											<table>
												<tr>
												    <td colspan="2">													
														<asp:ListBox ID="lstPriceGroup6" runat="server" style="background-color:white" Font-Size="Small" Height="100px" Rows="6" Width="288px" Font-Names="Tahoma"/>
												    </td>
												</tr>
												<tr>
													<td>
														<asp:Button ID="btnPriceGroup6Add" runat="server" CausesValidation="False" style="width:100%" Text="Reason Ekle" />
                                                    </td>
                                                    <td>
														<asp:Button ID="btnPriceGroup6RemoveAll" runat="server" CausesValidation="False" style="width:100%" Text="Grubu Boşalt" />
													</td>
												</tr>												
												<tr>
													<td style="width:200px;">* Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwoCommitmentGp6" runat="server" onkeyUP="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
												<tr>
													<td style="width:200px;">Taahhütlü Aylık Ücret <span style="color:gray">(Vergi Dahil)</span> </td>
													<td style="width:100px;">
														<asp:TextBox ID="txtMFwhCommitmentGp6" runat="server" onkeyup="this.value=this.value.replace(/[^\d,]/g,'');" CssClass="txtBoxCss" style="width:100px" />
													</td>
												</tr>
											</table>
										</fieldset>
									</div>
                                </td>
                            </tr>
                        </caption>

                    </table>
                </td>
            </tr>
             <tr id ="SubmitPriceGroups" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="Label2" text="Ücret Grupları Onayı" runat="server" />	
            	</td>
                <td>
                    <asp:button text="Onay Ver" runat="server" id="btnCommitPriceGroups"/>                   
                </td>
                <td>
                    <asp:Label ID="lblMissingPriceInfo" text="Eksik bilgi bulunmaktadır. Lütfen tamamlayınız." runat="server" Visible="false" ForeColor="Red" />
                    <asp:Label ID="lblCompletedPriceInfo" text="Ücret gruplarının kontrolü tamamlanmıştır." runat="server" Visible="false" ForeColor="Green" />
            	</td>
                <td>
           	    </td>
            </tr>
                        <tr id ="BasePriceField" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="Label1" text="Tarife Baz Fiyatı" runat="server"/>	
            	</td>
                <td>
                    <asp:Label text="" runat="server" id="lblTariffBasePrice"/>                   
                </td>
                <td>
            	</td>
                <td>
           	    </td>
            </tr>
            <tr id ="FeeShare" runat="server" visible="false">
                <td  class="solbaslik">Ses(Ses+SMS) - Data kırılımını nasıl belirleyeceğinizi seçiniz.</td>
                <td>
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" AutoPostBack="True">
                    <asp:ListItem Value="Tutar">Tutar</asp:ListItem>
                    <asp:ListItem Value="Yuzde">Yüzde</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                
                <td></td>
            </tr>
            <tr id ="FeeShareAmount" runat="server" visible="false">
                <td  class="solbaslik">Ses(Ses+SMS) - Data için tutarları giriniz.</td>
                <td colspan="2">
                    <asp:TextBox ID="TextBox1" placeholder="Ses tutarı" runat="server"  onkeypress="return isNumberKey(event)" CssClass="txtBoxCss" style="width:100px" AutoPostBack="True" onTextChanged="TextBox1_TextChanged" />
                    <asp:TextBox ID="TextBox2" placeholder="Data tutarı" runat="server" onkeypress="return isNumberKey(event)" CssClass="txtBoxCss" style="width:100px" AutoPostBack="True" onTextChanged="TextBox2_TextChanged"/>
                </td>
            </tr>
            <tr id ="FeeShareRate" runat="server" visible="false">
                <td  class="solbaslik">Ses(Ses+SMS) - Data için yüzdeleri giriniz.</td>
                <td colspan="2">
                    <asp:TextBox ID="TextBox3" placeholder="Ses yüzdesi" runat="server" onkeypress="return isNumberKey(event)" CssClass="txtBoxCss" style="width:100px" AutoPostBack="true" OnTextChanged="TextBox3_TextChanged" />
                    <asp:TextBox ID="TextBox4" placeholder="Data yüzdesi" runat="server" onkeypress="return isNumberKey(event)" CssClass="txtBoxCss" style="width:100px" AutoPostBack="true" OnTextChanged="TextBox4_TextChanged" />
                </td>
                
                <td></td>
            </tr>
            <tr id ="NetAmount" runat="server" visible="false">
                <td  class="solbaslik">Ücret Tutarları</td>
                <td>
                    <asp:Label id="lblNetAmountSes" runat="server" style="color:gray" />
                </td>
                <td>
                    <asp:Label id="lblNetAmountData" runat="server" style="color:gray" />
                </td>                
                <td></td>
            </tr>
            <tr id ="RateAmount" runat="server" visible="false">
                <td  class="solbaslik">Ücret Yüzdeleri</td>
                <td>
                    <asp:Label id="lblRateAmountSes" runat="server" style="color:gray"/>
                </td>
                <td>
                    <asp:Label id="lblRateAmountData" runat="server" style="color:gray"/>
                </td>                
                <td></td>
            </tr>          
            <tr id ="TariffOverPriceVoice" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="lblTariffOverPriceVoice" text="Tarife Aşım Ücreti (SES+SMS)" runat="server" />	
            	</td>
                <td>
                    <asp:TextBox ID="txtTariffOverPriceVoice" runat="server" AutoPostBack="true" onkeypress="return isNumberKey(event)" CssClass="txtBoxCss" OnTextChanged="txtTariffOverPriceVoice_TextChanged"></asp:TextBox>                   
                </td>
                <td>
            	</td>
                <td>
            	</td>
            </tr>
            <tr id ="TariffOverPriceData" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="lblTariffOverPriceData" text="Tarife Aşım Ücreti (DATA)" runat="server" />	
            	</td>
                <td>
                    <asp:TextBox ID="txtTariffOverPriceData" runat="server" AutoPostBack="true" onkeypress="return isNumberKey(event)" CssClass="txtBoxCss" OnTextChanged="txtTariffOverPriceData_TextChanged"></asp:TextBox>                   
                </td>
                <td>
            	</td>
                <td>
           	    </td>
            </tr>
            <tr id ="MonthyFeeProration" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="Label3" text="* Tarife Aylık Sabit Ücretlerinde Proration Uygulanacak mı?" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlMonthyFeeProration" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Hayır" Value="No" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Evet" Value="Yes"></asp:ListItem>
                        <asp:ListItem Text="Same As" Value="SameAs"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>
           		    <div id="sameAsBox02_a" runat="server" visible="False">
           			    <asp:TextBox id="txtKeywordProration" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeywordProration" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox02_b" runat="server" visible="False">
           			    <asp:dropdownlist id="ddlMonthyFeeProrationSameAs" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
           		    <div id="sameAsBox02_c" runat="server" visible="False">
           			    <asp:Label id="sameAsLabel02" runat="server" text="" ForeColor="green" />				
           		    </div>
           	    </td>
                <td>
           		    <asp:Label ID="lblErr02" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
            <tr id ="HotlineMF" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="Label4" text="* Abone hotline/suspend/line freeze durumlarında aylık ücret ödeyecek mi?" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlHotlineMF" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Hayır" Value="No" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Evet" Value="Yes"></asp:ListItem>
                        <asp:ListItem Text="Same As" Value="SameAs"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>
           		    <div id="sameAsBox03_a" runat="server" visible="False">
           			    <asp:TextBox id="txtKeywordHotlineMF" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnSearchKeywordHotlineMF" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox03_b" runat="server" visible="False">
           			    <asp:dropdownlist id="ddlHotlineMFSameAs" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
           		    <div id="sameAsBox03_c" runat="server" visible="False">
           			    <asp:Label id="sameAsLabel03" runat="server" text="" ForeColor="green" />				
           		    </div>
           	    </td>
                <td>
           		    <asp:Label ID="lblErr03" runat="server" ForeColor="red" />	
           	    </td>
            </tr>
			<tr id ="DetailedInvoiceCategory" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="Label5" text="* Abone detaylı fatura alırsa hangi kategoriden ücretlenecek?" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlDetailedInvoiceCategory" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Hayır" Value="No" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Evet" Value="Yes"></asp:ListItem>
                        <asp:ListItem Text="Same As" Value="SameAs"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>
           		    <div id="sameAsBox04_a" runat="server" visible="False">
           			    <asp:TextBox id="txtDetailedInvoiceCategory" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnDetailedInvoiceCategory" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox04_b" runat="server" visible="False">
           			    <asp:dropdownlist id="ddlDetailedInvoiceCategorySameAs" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
           		    <div id="sameAsBox04_c" runat="server" visible="False">
           			    <asp:Label id="sameAsLabel04" runat="server" text="" ForeColor="green" />				
           		    </div>
           	    </td>
                <td>
           		    <asp:Label ID="lblErr04" runat="server" ForeColor="red" />	
           	    </td>
			</tr>
			<tr id ="StopPackages" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="Label6" text="* Abone fatura/tivibu vs. stop paketlerinden yararlanacak mı?" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlStopPackages" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Hayır" Value="No" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Evet" Value="Yes"></asp:ListItem>
                        <asp:ListItem Text="Same As" Value="SameAs"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>
           		    <div id="sameAsBox05_a" runat="server" visible="False">
           			    <asp:TextBox id="txtStopPackages" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnStopPackages" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox05_b" runat="server" visible="False">
           			    <asp:dropdownlist id="ddlStopPackagesSameAs" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
           		    <div id="sameAsBox05_c" runat="server" visible="False">
           			    <asp:Label id="sameAsLabel05" runat="server" text="" ForeColor="green" />				
           		    </div>
           	    </td>
                <td>
           		    <asp:Label ID="lblErr05" runat="server" ForeColor="red" />	
           	    </td>
			</tr>
			<tr id ="TariffRegistrationFee" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="Label7" text="* Tarifeye kayıt ücreti uygulanacak mı?" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlTariffRegistrationFee" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Hayır" Value="No" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Evet" Value="Yes"></asp:ListItem>
                        <asp:ListItem Text="Same As" Value="SameAs"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>
           		    <div id="sameAsBox06_a" runat="server" visible="False">
           			    <asp:TextBox id="txtTariffRegistrationFee" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnTariffRegistrationFee" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox06_b" runat="server" visible="False">
           			    <asp:dropdownlist id="ddlTariffRegistrationFeeSameAs" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
           		    <div id="sameAsBox06_c" runat="server" visible="False">
           			    <asp:Label id="sameAsLabel06" runat="server" text="" ForeColor="green" />				
           		    </div>
           	    </td>
                <td>
           		    <asp:Label ID="lblErr06" runat="server" ForeColor="red" />	
           	    </td>
			</tr>
			<tr id ="GLAccountProfitCenter" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="Label8" text="* GL Account ve Profit Center" runat="server" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlGLAccountProfitCenter" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Seçiniz" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Manuel Giriş" Value="1"></asp:ListItem>
                        <asp:ListItem Text="Same As" Value="SameAs"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>
           		    <div id="sameAsBox07_a" runat="server" visible="False">
           			    <asp:TextBox id="txtGLAccountProfitCenter" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnGLAccountProfitCenter" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox07_b" runat="server" visible="False">
           			    <asp:dropdownlist id="ddlGLAccountProfitCenterSameAs" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
           		    <div id="sameAsBox07_c" runat="server" visible="False">
           			    <asp:Label id="Label9" runat="server" text="" ForeColor="green" />				
           		    </div>
           	    </td>
                <td>
           		    <asp:Label ID="lblErr07" runat="server" ForeColor="red" />	
           	    </td>
			</tr>
			<tr id ="CommitmentFee" runat="server" visible="false">
                <td class="solbaslik">
            		<asp:Label ID="Label10" runat="server" text="* Taahhüt ihlalinde aboneden alınacak cezai bedel" />	
            	</td>
                <td>
                    <asp:dropdownlist id="ddlCommitmentFee" runat="server" AutoPostBack="True" DataValueField="Value" DataTextField="Text" CssClass="ddlCss">
                        <asp:ListItem Text="Seçiniz" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="Manuel Giriş" Value="1"></asp:ListItem>
                        <asp:ListItem Text="Same As" Value="SameAs"></asp:ListItem>
                    </asp:dropdownlist>
                </td>
                <td>
           		    <div id="sameAsBox08_a" runat="server" visible="False">
           			    <asp:TextBox id="txtCommitmentFee" runat="server" type="text" CssClass="txtBoxCss"/>
                        <asp:button id="btnCommitmentFee" runat="server" CausesValidation="False" style="background:url('/ccapps/web/images/bul.png') no-repeat;" CssClass="buttonCss"/>
                    </div>
                    <div id="sameAsBox08_b" runat="server" visible="False">
           			    <asp:dropdownlist id="ddlCommitmentFeeSameAs" runat="server" DataValueField="Value" DataTextField="Text" AutoPostBack="True" CssClass="ddlCss"/>
                    </div>
           		    <div id="sameAsBox08_c" runat="server" visible="False">
           			    <asp:Label id="Label11" runat="server" text="" ForeColor="green" />				
           		    </div>
           	    </td>
                <td>
           		    <asp:Label ID="lblErr08" runat="server" ForeColor="red" />	
           	    </td>
			</tr>                                                                                                                                                                
            <tr>
                <td colspan="4">
                    <asp:Label runat="server" ForeColor="red" Text=" * Zorunlu Alanlar" />
                </td>
            </tr>
        </table>

            </ContentTemplate>
        </asp:UpdatePanel>
                
        <table>
            <tr>
                <td style="width:768px; text-align:right">
                    <asp:button id="updateButton" runat="server" CausesValidation="False" Text="Taslağı Kaydet" class="button01" />
                    <asp:button id="saveButton" runat="server" CausesValidation="False" Text="Kaydet" class="button01" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label id="finalStatus" runat="server" ForeColor="Black" Font-Size="12px"/>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
